trigger SalesOrderDetailedTrigger on SalesOrderDetailed__c(before insert,before update ) {
    

    if(trigger.isBefore &&(trigger.isUpdate || trigger.isInsert ))SalesOrderDetailedHandler.getPriceToDetail(trigger.new);

}